import ajax from '@/utils/ajax'
import type { CustomResponse } from 'uni-ajax'
import type * as dyPlayingModel from '@/api/model/dyPlayingModel'
class DyPlayingService {
    /**
     * 获取用户犯法
     */
    list(
        params: dyPlayingModel.IListParams
    ): Promise<CustomResponse<dyPlayingModel.IListResponse>> {
      return ajax.get('/tools/dyPlaying/list',params)
    }

    searchName(
      params: dyPlayingModel.ISearchNameParams
  ): Promise<CustomResponse<Array<dyPlayingModel.ISearchNameResponse>>> {
    return ajax.get('/tools/dyPlaying/searchName',params)
  }
  }
  
  export default new DyPlayingService()
  